package stool.observerpattern.part1;

public abstract class Subject {

    private String action;

    abstract void attach(Observer observer);

    abstract void detach(Observer observer);

    abstract void nofifyInfo();

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }
}
